fix iOS crash on device with AIR SDK 15

add "useLegacyAOT no" support
this does not look right... I think its worth rewriting whole section differently..