Fix --enable-poll configure flag which was ignored, causing poll to be always used