Nitpick, but ruby string interpolation might be a little prettier here:

```ruby
"-I#{java_home}/include/darwin"
```