fix kqueue and static_list_pool