Minor compatibility change for android.