Simply changing the build dependency from libxerces-c2-dev to libxerces-c-dev does not work, but upstream has already ported clam to use xerces-c 3.x. As is, clam will become FTBFS when libxerces-c2-dev is removed.