I compiled QMC2 with new mame build tools, where is your ptoblem ?
I think u need only fixed new environments for buildtools.