Minix port of libevent