Fixed CMake warnings.