Ancient rammed-earth construction techniques and cutting-edge solar technology might seem an unlikely pairing.