fix gensources.xml diff test
fix compilation in plugin