Speed up build when using cache

Builder now calls Daemon.Graph().Map() once, instead of once per step.