build: convert convenience libs to static

Since we are linking the convenience libs to multiple libraries and
binaries, the Libtool manual suggests to make these libraries static to
avoid problems with symbol redefinitions.