Clean up .def files