fixes 0.10.x and updates to nan-1.1.0