Fix compile error on android.