Updated for libuv changes in node 0.10

Updates to compile against libuv changes in node 0.10.