Fixed unstable configuration of CMake