The regulations of this chapter shall not be considered to limit or interfere with the dedication, development or use of any land or building for public parks, other public recreation areas or public schools required for compulsory education or with the use of land or buildings owned by the State of New York, the County of Erie or the Town of Boston and used for governmental purposes or with the construction, installation, operation and maintenance for public utility purposes of water or gas pipes, mains, standpipes, electric power transmission or distribution lines, telephone or telegraph appurtenances or with any highway, railroad right-of-way or mass transit right-of-way existing or hereafter authorized by the State of New York, the County of Erie or the Town of Boston.