Mode android compile fix