Fix issue in build_cmake.