I was able to solve my issue by using the parameter /reference:<file path>
of the svcutil tool:
References types in the specified assembly. When generating clients, use this option to specify assemblies that might contain types that represent the metadata being imported.
This allowed me to exclude from the generated proxy the shared dlls avoiding reference conflicts.