Update Makefile.template