Define basepath and dir sep