now supports both mxp and c codecs, autodetects plattform