Fix build scrpit for cygwin
Merge pull request #106 from darkdukey/fixPublish

Fix build scrpit for cygwin
Merge commit 'eec090c36e5b50ac2a429c4f8332b600cc0e523d' into develop