Fix cygwin compile