Support cross-compiling for iOS (armv7)

I haven't checked on iOS x86_64 as actually it is impossible to target it yet. But x86 works fine and I believe x86_64 wouldn't have any problem too as those are executed in Simulator (it is important difference from Android where real emulator is used), i.e. OS X and on OS X it is confirmed to work