Set AC_LANG(C++) so tests run using C++ compiler.