Moses: fix assorted build and test breaks

continuing ensemble development, and fixes for assorted breaks from the recent integration.