passing the BUILD_DIR var