Fix building for Android.