Fix Cygwin build