fix clean directories not working, automatically clean if tiapp.xml changes