Fix for compiler error on MSVC.