Fixing build error when plugin inherited from android used