Use "extern" even for local decls, C++ quick fix

See GH-63.