Use NAN for Node 0.11+ compatibility