Added check for cmake version