compatible version for 0.11.x without breaking current version.

Did this compatible version by importing [rvagg/nan](https://github.com/rvagg/nan).