BSD fixups.
Use PollBuffer on BSD.