Partly implemented pselect() around select() (if the syscall is not available)