[eclass] Only try to sed CMakeLists.txt if it exists.