Pass callback to subbuild for subbuild execution