Fix of CMake configuration