Fix paths on Linux and MacOS