makefile: use lastword instead of word/words