I'm 99.9% sure this doesn't work.  MACOSX_DEPLOYMENT_TARGET is a shell variable in the prologue, platform and the others are actual hashdist parameters that are defined in the .yaml file.  The conditional logic has to happen down in the bash section of the script.