Updates for automated build support for osx.

make sure the old zip is gone first, choose the best compression
mode (slower but smaller file) by default.
Merge pull request #366 from monkeyiq/2013feb/issue359

Updates for automated build support for osx.