Support cross-compiling for iOS (armv7)

The rest of these modifications are up towards where `DEF_THIRD_PARTY_TARGETS` is defined, could you move this up there?