Added flags to handle ANSI support. Disabled by default for windows users.