Fix version iOS version check