Make path building none os specific