Don't ahrd-code QTDIR path.

Change from /usr/local to HOMEBREW_PREFIX.