Merge pull request #72 from yason/master

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