Fix compilation error with node 0.10.