for Android compile