fix log on android
fix android build from windows.