Make your own build, hell make your own fork if you want.
MAME's build environment is well documented and easily replicated. So it's no great issue to compile your own build, unlike many open source projects.
Both current and previous versions of MAME's source code are readily available, along with any required resources.
You don't even need to be a great coder, you just need compare versions of the source and see what was removed at put it back, the code is basically written for you.
Long term it might take more custom code to stay compatible with current builds, but the beauty of MAME being open source is your free to do it if you wish.
That's just my 2c.
If all else fails, Burn the manual.