The corporate authorities of each municipality may prescribe the strength and manner of constructing all buildings, structures and their accessories and of the construction of fire escapes thereon.