e169-stats: rework makefile patch to be more general