propagate cmake osx variable through the superbuild