Detect libevent configure problem on FreeBSD

This resolves issue #41