move deps_to_build out of config dict of state