Fix to compile on newer Android Studio.