[MacOSX] Check env variables to see if we already have the values instead of using LAUNCHER env hacks

Attempted fix for bug #24011