Node 0.10 Compatibility

A small change in the libuv interface necessitates a new cast for compatibility.