Fix compat/regex ANSIfication on MinGW