fail if avahi is not found

If I configure with --enable-avahi, presumably I want the code to be
built with avahi support...