correct bogus use of poll(2) related constants, improving non-Linux portability. Thanks Wouter de Jong