Linux support added.
Runs on Linux systems using 'poll'.
Tested on 'Linux HOSTNAME 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux'