Initial patch to support disabling of CAS/CoreCLR.