CMakeLists.txt check only checks C compiler works, but my C++ compiler has a different version, so different checks work.