Praise be to Allah, the Lord of the Worlds; and blessings and peace be upon our Prophet Muhammad and upon all his Family and Companions.
It is unlawful to spend Zakah money in building mosques as this is not one of the eight categories that are considered recipients of Zakah.
Allah knows best.