fix android build problems.