If a navigable body of water is the boundary line between counties, the boards of such counties may join in the construction of a free county bridge upon the terms to which they agree. In the event of a failure to agree, either county may build a bridge and retain control thereof.