using $BUILD_DIR instead of $HOME for interop