Updated MCS_resolvepath() signature so as to compile on Linux