Test CMake compilation