when building mailcore2, only run for osx architecture using prepare-mac.sh