Remove Python-3-specific CMake rules.