[CMake] Fixed linux build.