Fixed cygwin build