Fix propagation of extra build attributes