fix $BUILD_DIR