treating cygwin like linux