Applied fix for compilation on older msvc compilers.