Support for iOS compilation

Just mimics OS X configuration that was enough to make it compile using triples armv7-apple-ios and i386-apple-ios (for device and simulator respectively)