```ruby
freetype = if MacOS::X11.installed?
  "#{MacOS::X11.include}/freetype2"
else
  "#{Formula["freetype"].include}/freetype2"
end
```