Handle paths better in cygwin