Don't regenerate event-config.h on every build.
Move EVUTIL_CLOSESOCKET to util_compat.h.