Add libev and libevent backends.