get environment variable address for a given program name