libevent.a to encpasulate event abstractions like epoll, kequeue etc.
define __offsetof only if it is not defined