Allow switching between poll and epoll.