fixed compilation fails on android.