To solve labor challenges and improve efficiency in building remote, large-scale solar-power projects across the U.S., McCarthy Building Cos. is borrowing principles of an approach developed by the U.S. government during World War II to accelerate industrial production, despite limits on staffing.