Make it easy to link with C++

Add a guarded extern "C" directive to all headers referenced from koki.h
to make it easier to link with them from C++ code.