Don't hardcode -levent in linker flags. Use @LIBEVENT_LIBS@ instead

Hi!
This patch helps different systems to set different linker flags for libevent2. In Linux it's set to -levent (as it was previously hardcoded) and in BSD  it's set to -levent_core -levent_extra.
Tested on RHEL6.4 and OpenBSD.