Improve build file cleaning