Fixed a bug when sometimes source html files were getting overwritten with 'build' paths and added dist cleaning