Fix for Node v0.11