Added support for cygwin

'cygwin' OS should be treated the same as 'MSWin32'
Merge pull request #6 from LukeGoodsell/master

Added support for cygwin