Removing some more warnings (CMake)