gcc: Restore behaviour on OSX build