Update to the latest Nan & tweak usage to match.