Section 39. An owner or lessee of land appropriated or which he desires to appropriate to the cultivation and growth of cranberries may erect and maintain a dam upon and across a stream to flow and irrigate said land, subject to this chapter so far as applicable; but he shall not erect and maintain a dam across a navigable stream or across the outlet of a great pond, without a license therefor from the department of environmental management.