Fixed to work with the latest libuv changes.