fix a flag msvc doesn't like