makedist.py: gradle requires that $TERM is set