Change way to check iOS version.