add {SO}VERSION, proper INSTALL

The install mechanism for the libraries was incomplete; add {SO}VERSION specifiers.