build: get the SONAME right for installed libraries