modified router Makefile