yet another cmake version detection fix