fixed MSVC12 compile error & adapted plugin install structuring