Upgrading to net8 and automapper 13.0.1 fails - C#