Using ln instead of install for soname installed libs.
Fixing cut&paste error from last commit.
Returning the first defined submatch with a given name when
there are multiple instances of the name.