Fix CMake warnings