Support cross-compiling for iOS (armv7)

It seems NSGetExecutablePath is in public API, so using it now