Fixed issue with methods missing in windows

If you launch grunt from a process that is listening to stdout, the
clearLine and cursorTo method's may not exist.