Fix extended flag msvc