Fix dependency problem with jinja