add $TMPDIR
fix build