when building mailcore2, only run for osx architecture using prepare-mac.sh
Merge pull request #88 from eahrold/master

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