dmm: remove libraries that are no longer used from build