Make the tests work with a C++ compiler.