No action or proceeding for the recovery of anything due to the county shall be compromised or settled except by the county commissioners, or by their direction in writing.