support android build

fixed according to guidance