Consolidate build for all the variants