fixing some v0.11 issues

Restricting to nan-1.3.0