The regulations of this chapter shall not be so construed as to limit or interfere with the dedication, development or use of any land or building for public parks, public playgrounds or public schools required for compulsory education or with the use of land or buildings owned by the United States Government, the State of New York, the County of Erie or the Village or the Town of Lancaster and used for governmental purposes or with the construction, installation, operation and maintenance for public utility purposes of water or gas pipes, mains or conduits, electric light or electric power transmission lines or distribution lines, telephone or telegraph lines, oil pipelines, steam transmission lines, sewers, sewer mains or railroad right-of-way existing or hereafter authorized by the State of New York, the County of Erie or the Village of Lancaster.