Fix minimum iOS version bug