Replace the temporary header use for globals by actually declaring the used ones in language_plugin.c