fixed CMake build problem