Compilation fixes for --disable-auth --disable-dns-update