Fix MAME building