The board of supervisors may permit private parties or municipal corporations to take materials from such acquired lands in order to improve any street or highway in the county, but it shall be a serious misdemeanor for any person to use or for the board of supervisors to dispose of any such material for any purpose other than for the improvement of such streets or highways.