Modified the template makefile.