Change compiler configuration in CMakeLists