I initially tried the if build.with? "gui", but I then had to specify "with-gui" on the command line.  I'm still not following how I can "brew install xplanetfx" and force the recommended gui dependencies to install.