libevent: build as static library