Fixed checking iOS version number.