Stop avahi code from horking up compile-time warnings

Last of the compile time warnings; with this its a warning free build :-)