fixing path joining so it is windows friendly