use external libevent library.