node 0.11.13+ support with nan module

Allows compilation for node 0.8.x, 0.10.x and 0.11.13+.
Though not tested in 0.8.x.