Android: Fixed missing link dependencies when building shared library.