Any chimney, ventilator, skylight, elevator penthouse, heating and air-conditioning equipment, antenna or similar structure customarily mounted on, or through, a building roof, except as may be specifically modified by other provisions of this chapter. Such structures shall be erected only to such height as is necessary to accomplish the purpose they are intended to serve.