[CMake] Cleanup CMake rules after r219302. NFC.