Build both, static and shared library for the
cluster backend.