fix compile error on android.