[package] switch mstmp to using build variants (#6723)