Remove incorrect TERM env declaration; remove PLATFORM env.