Fix CMake build.