Windows path problem fixed

 see #268, #269, #288