lib/events: build as MERGED_OBJ instead of STATIC_LIBRARY