This could go on one line:

```ruby
simd_args << "--enable-avx" if ENV.compiler == :clang and Hardware::CPU.avx?
```

Additionally, this should be disabled if `ARGV.build_bottle?` is true, since it's not compatible with most CPUs.