Added versioning to cmake for the shared library