fixed path handling on linux