Add __cplusplus extern "C" boilerplate everywhere