use nan to successfully compile on node v0.11.14 (and still compile on v0.10.25)