build: provide -version-info directly instead of -version-number
The info components carry the real OS-independent library version
information, from which the version number is computed differently
on different systems. According to the libtool manual "new projects
should use the -version-info flag instead".
Signed-off-by: Ferenc Wágner <wferi@debian.org>