making path constructor OS agnostic