build: restore compatibility with node.js 0.8.0