Makefile: use template_dir more