Add more strict checking with --fail-on-warnings.