CMake fixes.