Follow-up to 0e58529 (for MSVC compatibility)

- Fixes bugreport:8097, thanks to Frost
  http://hercules.ws/board/tracker/issue-8097-compile-issue-using-msvc-2010-windows-7-64bit/

Signed-off-by: Haru <haru@dotalux.com>