integrated Ralph's fix from ompi trunk for setting env vars from mca variable