Adds missing quotes
Adds the 'extern' keyworkd to globals definitions