added epoll back.

cmake will decide if epoll can be used.