Fixed MSVC compilation.