Fixed a compilation error in MSVC <= 2012

Special thanks to Angelmelody

Signed-off-by: Haru <haru@dotalux.com>
Merge branch 'master' of https://github.com/HerculesWS/Hercules