CMake build system updated to match libtool ABI versioning

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>