Fix iOS support