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

Fix build scrpit for cygwin