Fixed warnings on Android.