add missing compile flag for msvc