apply patch by Ken Brown to preserve case of paths on cygwin