adapt to 32bit android