Fix cygwin build error