upgraded to NAN@0.7.0