Fixing issue with compilation under MSVC

Thanks to Axel Kemper for reporting this

Fixes #192