* fixed all headers to use extern "C" so C/C++ linking will work properly