Support cross-compiling for iOS (armv7)

Could you move this declaration into the `extern` block above? Configured out for ios, of coures.