Add console as a global extern
R=johnlenz