Update Makefile.tmpl