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