Added Solaris/SunOS specific pattern for picking up binary dependencies.

On Solaris/SunOS the output of ldd is different from e.g. Linux so I have adjusted the regex pattern used when picking up binary dependencies – but only on Solaris/SunOS.