build: restore compatiblity with node 0.8

closes #2