Fixed issue where not all files are being deleted after compiling