build: support node.js >= 0.8