Reorder the inclusion of headers so that globals.inc comes first