Fix iOS compile