mainly for windows, where paths are case insensitive.