[lib] Add build implementation without polling.
[lib] Poll build status to completion state.