Had some old references in makefile.template; fixed.