making sure log files and other non build artefacts are removed during build process