Makefile: work around ksh's failure to handle missing list argument to for loop