Update error RegExp to decrease false positives

Currently, things like "-Wno-error" give a false positive on possible
errors in the compilation process. This commit fixes this.
Merge pull request #669 from wpoely86/my-changes

Update error RegExp to decrease false positives