Fix compiling with libuv 0.11