Fix some of the deprecation warnings introduced in the new version such as the removal of SC_HAS_PROCESS.