Correctly build plugins with -std=c++0x.