Replace old instructions to CMake