No principal or accessory building shall be located closer than 50 feet to any street line or 25 feet to other property lines, except that buildings for boat construction, repair or maintenance shall not be located closer than 50 feet to any property line.