update commander dependency and compatibility with nodejs 0.10

undefined throws an error to path.join function on node 0.10