configure: add a flag to force use of embedded libevent

This will prove useful for OSX when building as a package.