build: Add DEP_LIBS dependency directly to the shared library build rule.