Let the platform file work for older versions of CMake