Support cross-compiling for iOS (armv7)

You could use `filter` instead of `filter_map`