Apparently some Windows configs are blowing through the command-line length limit; move your source tree as close as possible to the root of the drive if it's down a ways in the folder structure.
Also, Haze supports UME over at his blog, we normally only handle vanilla MAME/MESS here.