Putting the example under LPGL 2.1 means any plugins derived from it must also be LGPL or GPL. I don't know if that matters, but maybe a BSD license would be preferable for the example code?