force C linkage rather than C++ to trick Windows into building DLLs that do not depend on GNU crap