Merge pull request #217 from BorisSchaeling/cygwin

Fix Cygwin support