Construction of the MEGA photon detector