fixed CMake version matching