Only add the -Werror on Linux
On Windows, this messes up the build system for some reason... It breaks the call to winres!
BUG:380482