Use Formulae's pkg_version rather than version

This provides support for Homebrew version revisions.