Updated for libuv changes in node 0.10

A few patches (and a dependency update) to make things compile with changes to libuv in node 0.10.