The board of county commissioners may permit the occupancy by any society or association of soldiers, sailors, marines, and pioneers, or any historical association, of any county building, or part thereof, not necessary for other county purposes.