Bugfixes for use of epoll / poll on Linux. #0