Support cross-compiling for iOS