Create /system/lib(64)? symlinks for host tests.

  Replace LD_LIBRARY_PATH with default path for
  the tests run on host.

Bug: 18589961

Change-Id: Id4a84b73d25c2ca9c557fcfa19b8169daeaa016b
Fix mips build

Change-Id: Iddbf06784d19556a55d833e20a68e6ccf5a7c5be
Merge "Create /system/lib(64)? symlinks for host tests."
Merge "Fix mips build"
Avoid pathological behavior in OpenBSD's fread.

Bug: https://code.google.com/p/android/issues/detail?id=81155
Bug: 18556607
Change-Id: Idc60976b79610e2202cc42dc393dcb4ca6c42e05
Merge "Avoid pathological behavior in OpenBSD's fread."