Fixed cmake version flags