Set TERM to 'dumb' for JVM builds