Fixed ansi support detection