Updated for libuv changes in node 0.10