Use $BUILD_DIR consistently.