make it compile on MSVC