Fix build issues for callsites that create InputSources directly.