Fixing CMake Version Checking for newer policies