Fixed compilation with VC2012
Moved the definition to the plugin, where it actually belongs
Merge pull request #5 from fusion44/master

Fixed compilation with VC2012