correct deleting files & compile options