compactible with libuv version 0.11