Changed handling of globals to use the c-preproc syntax rather than the old XML-ish syntax.