added const to mch_getenv and mch_setenv