fix compile failure on latest node bits

libuv changed slightly in node 0.9+ (see: https://github.com/joyent/node/wiki/Api-changes-between-v0.8-and-v0.10)