Study of a 5 MeV electron linac based neutron source