fix CMake warnings