Fixes an issue where the binding redirect version is picked from the fir...

...st file found rather than the highest package version.

This fixes was the issue I had with #421 
yep sorry that's my fault. Should have made it more explicit. p is a library path in this case.
Could you please fix this with your PR? Thanks