Fixed build on MSVC