Fix linking on Android.