MSVC build support and mega buffers in Windows