allow including rdkafka.h in C++
get rid of warnings in gcc 4.4.3