bugfix: fix cexport API for c compilers.