Add compatability for Node.js < 0.10