Split commit from build in cmpFoundation.
Useful if e.g. a modder wants to commit a structure before building it.
Differential revision: D3806