Adds the 'extern' keyworkd to globals definitions