Makefile: fix unsafe file deletion