fixed CMake for GCC