Fix deletion issues
closes #4061
Merge pull request #4065 from permcody/makefile_fix

Fix deletion issues