Build with C linkage under C++