Add a warning about the debug flag
Include templates in build