Fix the build when using Avahi