Use OS independent way to construct paths.