Fix function name in node 0.8.x

This should make the Travis tests pass in node 0.8 again