Fixed CMake bug.