Electron linac optimization for driving bright gammaray sources based on compton back-scattering