It wasn't causing build errors because the only spot that used it was itself gated by COGL_HAS_TRACING.