Fix MSVC build breaks.