add libevent version comparison for support APIs