Fix missing TERM env variable