* fixed version check with older cmake versions