fixing path for windows & MacOSX