Force C linkage under a C++ compiler.

This enables easy use of libcurvecpr in C++ bindings.