add ifdef __cplusplus to wrapper header file