Fix autotools where ax_config_feature and ax_have_epoll do not exist.

Reported and tested by @vodik, closes #110.
Merge branch 'fix/autotools-110'