Do not unnecessarily link libraries.
libdl is actually used by libguac, not guacd.
Fix linking flag for libdl.
Also check for (and link with) libvorbis.
Should also link libogg.