Updated the plugin code: now compiles cleanly on Android.