Make sure there is TEMP_DIR.