Add a flag for warnings-as-errors.