Apple: Refactor support for using INSTALL_NAME_DIR.

Status Job ID Name Coverage
  External
passed ghostflow-commit-check