Making path cross-platform