Fix support for Node v0.8