Unload native libraries during shutdown. am: 21b656872c
am: cc49e75847

Change-Id: If40ef5fa3460ca3b326b5ff578e9ddc0e63b5179