libcoprthr: changed env var TEMPDIR to TMPDIR
libcoprthrcc: changed env var TEMPDIR to TMPDIR