Disable useless warnings on MSVC.