0.11.4+ compatibility using NAN

See https://github.com/rvagg/nan