Add explicit inverted rule for Makefile.template