If any person manufactures gunpowder, or mixes or grinds the composition therefor, in any building within 80 rods of any valuable building not owned by such person or his lessor, which was erected when such business was commenced, the former building shall be deemed a public nuisance; and such person may be prosecuted accordingly.