Fixing CMake warnings.