Compile without warnings with MSVC