support universal binaries on osx/ios