Make kqueue event queue compile and sort of work