remove unused files after Cmake transition (#4617)