Fix race condition in setup.py
Fix the manifest to include the templates