plugins/dmm.c: Simplify code

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Makefile: Call ldconfig after installing libosc.so

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>