[ios] Fix compilation options for simulator build (case 650931)