Support (almost) compilation and run on cygwin