added support to build in SCRAM but run outside of cmsRun