Added ability to link to avahi directly, rather than calling it
as an external dependency. This is cleaner, and it means the service
broadcast is reliably removed on exit. To enabled, uncomment
the line setting LINK_AVAHI in the Makefile. Requires the
libavahi-client-dev package on Ubuntu/Debian to compile.