Use CXX to compile C++ code from makefiles.