fix msvc compile flags