Fix the Makefile

Fix a problem in the Makefile where multiple make runs create a symbolic
link in the res directory.