cmake: Use symbol versioning on UNIX-like platforms

Use symbol versioning to follow GNU Autotools more closely
7 jobs for diizzy-master-patch-42817 in 3 minutes and 45 seconds (queued for 11 seconds)