Fix the globals.h to use XMLPUBFUN * include/libxml/globals.h: in addition to the extern extern Paul Smith noted that XMLPUBFUN should be used instead of LIBXML_DLL_IMPORT