Support cross-compiling for iOS (armv7)

Does `NSGetExecutablePath` not exist on ios? This may need a better FIXME message as well.