fixed compile error in Android.