adds $BUILD_DIR abstraction