fix undefined uv_loop_t