5. Every owner of land may improve any watercourse bordering upon, running along or passing across his property, and may turn the same to account by the construction of mills, manufactories, works and machinery of all kinds, and for such purpose may erect and construct, in and about such watercourse, all the works necessary for its efficient working, such as flood-gates, flumes, embankments, dams, dykes and the like.