fix node 0.8 build