Instead of defining the option and doing the if here, just make use of 

```ruby
depends_on :x11 => :optional
```
This will auto-generate a `--with-x11` option and default to not using x11.
It will also make `build.with? 'x11' == true` for use later in the code.