Migrate away from depreciated NAN functions for Node v.11 compatibility.