Only filter out -Werror, not -Werror=something

Prevents build failures, because the CFLAGS would contain =something in the arguments