[mac/f24] Add WIP patch - please anyone finish the gcc patch