We can just split targets_to_build in one place and make it immutable. llvm-svn: 210496
llvm-svn: 179850