better detection to determine if using epoll or select on linux

based on kernel version instead of looking for the timerfd.h header in /usr/include/sys