cmake syntax fixes; fix variable name
Merge branch 'jinja2-fixes' into yotta3
building works in python3