Fixed logic flaw in makefile directory removal.