Initial patch to support disabling of CAS and CoreCLR.