Introduce SONAME_VERSION

Use that instead of VERSION for setting the SONAME on non-windows versions

@sebastien-villemot @nalimilan does this satisfy proper SONAME procedures?