Overriding soname linker flag for dynamically linking alternatives