contrib: Tidy up Makefile template