Fix bug in new cygwin target implementation.
Merge pull request #120 from DaiyuHurst/master

Fix bug in new cygwin target implementation.