Maybe I've been not clear enough...
Download official MAME 0.178 and extract it
Download from the link above the MAMEUI 0.177 source package which is *not* the full updated repository but *only* the UI part of source files. Extract it over official 0.178 source
Download ACDACD patch and extract it over official 0.178 source.
Compile as usual.
I'm not saying it will work... but at least these are the steps to follow. I'm not sure, but it's probably that in the next months MAMEUI will not be updated so regularly as before.