fix template makefile