Fix finding Libevent on Unix as well.

The find module now first looks for Libevent config, and if not found then searches the system.