Fix compilation error of Constructor and ScopedPersistent in node 0.10.