Fix dependencies for node 0.6 and 0.8