FIX Deprecation $manifest not in global scope

$manifest is not in the global scope, patched it to use SS_ClassLoader to get the manifest instead.
Merge pull request #2041 from Mark-M/patch-1

FIX Deprecation $manifest not in global scope