enable to be compiled in cygwin