MSBuild integration: get the LibraryPath right (PR18707)