fix unixed windows path on unix detection