android: make the compilation work

Adds a bit of ugliness..

Signed-off-by: Arik Nemtsov <arik@wizery.com>