Fix path-sep related buglet on Windows