Fix bug 6441 -- fix the compile with --enable-dnssd