fixed issue with node 0.10 where config.base is undefined will cause path.join to throw an error.