Fixed setup.py for templates.