Fixed BUILD_TMP_DIR