Merge pull request #119 from DaiyuHurst/master

Implement generation of builds for cygwin targets.
Fix bug in new cygwin target implementation.