xplplugin : split in plugin and xplplugin. Fix #1889