Fix #26
Use custom joinpath to make more portable