fix compile error on linux (epoll impl bug became apparent due to prev commit)