No building shall be erected on any lot unless the street giving access thereto has been accepted as a public street or unless such street has attained the legal status of a public street prior to the effective date of this ordinance or has been accepted as a public street by the county commission.