I just successfully compile mame.140 using Haze's excellent MameCompiler64. I didn't apply any "u" patches... just the Hi-score with no nag screens/white boxes diff on standard .140.
Before compiling I ticked boxes for 64 bit processor and dual core. I left everything else unticked and in the drop down box for optimization I left it as "None".
My system is an i3-650 using Windows7. So did I select the correct options? I was a little confused about some of the optimization choices so that's why I left it as "None". Although I was tempted select "Auto-Detect".