Indy -
Recompiling is not that hard, but it does take some time to setup. I'm not a programmer but I have recompiled the Mame source many times. Here's a good link:
http://www.fraggersxtreme.com/arcadepanels/faq.htm#How%20do%20I%20get%20rid%20of%20the%20blasted%20"Click%20Ok%20to%20continue?"%20screensFirst, got to Mame.net for the how-to on setting up the compile environment. Set some time aside to do this, it's not hard, but you need to follow the instructions and download what you don't have. Set up and compile UNCHANGED mame source. If you are successful, you are ready to make the two line changes you are looking for. If not, you need to recheck your setup.
Trust me, it's not as hard as building your own cab, and it is valuable knowledge to have. Recompiling and distributing is a no-no to the Mame Dev team and I don't want to bite the hand that feeds me...

What I can do is volunteer to help you out if you get stuck. Like I said, I'm not a programmer, and I'm only familiar with WinMame or Dos Mame, not Advancemame or Mame32. If you run into trouble, PM me and I'll give you my email so I can try to help you out.
I'd rather teach a man to fish......
Good Luck.