migrate plugins directory to C++11