Apply os.path.join to all paths to avoid OS dependency problem

A simple fix to let us work in *uix