fixed Makefile problem if directory exists