enabled to compile on cygwin