Account for old versions of homebrew in homebrew module.