Set library version info using an Autoconf-substituted variable.