use python3 in makefile templates