Add warning flags to default configuration