Extend autotools build to create shared library libopenocd with libtool: