Thanks to the change "build: support library builds via lib/<libname>", shared libraries can now be built directly by the build system. Issue #4599