Only include poll.h on systems with poll.h