Moved small function out to utility.c.

There was also no header guard on IncludeGlobals.