small fix for Mac build script
Merge pull request #692 from LipuFei/small-fix-mac-build

Small fix for Mac build script