Add select for reading on Linux.