Add HOMEBREW_PREFIX support to .app env script