Move C linkage binding for c++ to exporting header files instead of includes.