add check for -lnetwork when configuring vorbis-tools
Haiku uses -lnetwork for socket, so adding a check for it in configure.ac takes care of this. Also moved a line in oggenc.c to fix another error since Haiku uses gcc2 and it errored out during make.