Handle some HAVE_NS Makefile conditionals with configure.