Better way to check old cmake version. [ci skip]