fix for ANSI codes that show up in compilation buffer

On Debian 6 and Ubuntu 12.04, ack-grep outputs ^[[K at the end of some lines. This fix filters them out.