Select first match instead of last when searching for maximum version of .so file on linux

IMHO the order of the libraryPath is important and libraries should come from the first location they can be found in.