Migrating scp and library global variables to be declared as extern in the appropriate library include file and remove repetitive declarations in referencing modules.