Modify to suppress warnings on MSVC.