fix to support android cross compile