Unbreak res/Makefile (issue #6891 as reported by casper)