Fix: shared libraries are in .../lib on most platforms and only in .../bin on Windows.

[SVN r86787]