Reduce verbiage of lit.local.cfg files

We can just split targets_to_build in one place and make it immutable.