Fix CMake build type