In the mongod library in mongo/db/commands/SConscripts there are two libraries added to the LIBDEPS array.
We should move these to be added in the LIBDEPS_PRIVATE array. We should make sure that the dependencies of the libraries being moved are present in the mongod target.