Be more forgiving to paths on Windows