The compensation of the trustees and treasurer mentioned in the foregoing Sections of this Act shall be fixed by the county boards of the respective counties.