remain compatible with older librdkafka