delete unused files and fix qwt conf