tevent: only provide compat macros if the caller wants them