fixing build for nodejs 0.8