updated `build` with variables for tools and architecture