No main building, except as otherwise specified, shall be located nearer than ten feet to the shoreline. In no instance shall it extend beyond the original platted lot line. Accessory buildings to be located nearer than ten feet to the shoreline, including those attached to a boat dock as that term is defined in section 40-25 of this code, require a special use permit following the process required in section 40-25(i) of this code.