Allow OS-dependent loading of native libraries

On Windows, all native libs have to be loaded separately making sure
that no library is being loaded before all its dependencies are loaded.
On Linux or Mac, loading the main library will automatically load its
dependencies.

Bug: 117921091
Test: test script updated
Change-Id: I055efa73a7ba35962b533e9b37e475fd323a674b
3 files changed