Fixed Bug 8067

Sample plugin compiler error on msvc, credits to AnnieRuru (Thank you!)
http://hercules.ws/board/tracker/issue-8067-pluginsamplec-throws-error-on-microsoft-compiler/

Signed-off-by: shennetsind <ind@henn.et>
Merge branch 'master' of https://github.com/HerculesWS/Hercules