Build in a sub-shell