Support cross-compiling for iOS (armv7)

This seems highly suspicious. I would rather not have this code at all, and leave the `unreachable!()` below. Can you structure the linkage phase such that it ignore calling this function for ios with dylib outputs?