Events: use epoll only on Linux and when linux-kqueue not defined

Signed-off-by: Eduardo Silva <eduardo@monkey.io>