Not only check for poll(), make sure poll.h exists as well