Fix cygwin build