The board of chosen freeholders of any such county may convert so much of the common jail of the county as they deem proper into a workhouse, reserving sufficient room for the uses and purposes of the public jail.