Fix compilation issue under Cygwin