Fixed latest libuv API change breakages.