Update with suggestion from jacknagel

Move head dependencies to the head block.
Use Homebrew instructions for gettext and readline location.
Remove environmental variable setting for PKG_CONFIG_PATH.