Fixed clean file and build-resource file