Add event library epoll and select support