fix for MinGW problem , MSVC is more clever