Using kevent instead of kevent64

With these patches, kqueueserver{2} can run both on FreeBSD and Mac.