Humble attempt to add Cygwin support
Slightly better version based on pullrequest comments
Even more polishing plus removing some dirty hacks
Merge pull request #240 from revelon/master

Humble attempt to add Cygwin support
Fixed issues with bad Cygwin conditions on non-windows system
Merge pull request #245 from revelon/master

Fixed issues with bad Cygwin conditions on non-windows system