Beneficiaries of Zakaat are clearly stated in the Holy Qur-an. Accordingly, we are of the view that Zakaat could not be given away to purchase a land to erect a school building. Instead, general Sadaqah could be used for such a purpose.
Allah knows best.
Wssalaamu alaikum warahmathullahi wabarakaatuh.