Make it work on cygwin environment