Change the clean task to be compatible with Mac OS.