cmake: read shared library version from libversion