bdb0a39c8a
Motivation: NativeLibraryLoader has some code-duplication that can be removed. Modifications: Remove duplicated code and just use provided methods of PlatformDependent. Result: Less code duplication, fixes [#3756].