disable -ansi for mingw