api_genetator: fix android build