modification to cross compile for android