Fix Homebrew syntax for sub-dependencies.
Use “resource” rather than Formula class