weekly build system changes

This week, a very small and simple set of fixes for a change.  My stash of unmerged commits is continuously dwindling, but the last set after this one is going to be quiet substantial.