fixed compile fail on android.