lib: make it work without patched node.js
0.2.0