reduce warning level for MSVC