Makefile: fix random pattern hack.