fix breaking build in node 0.8