Made console error pattern matcher more flexible for Windows Compiler