Restore the gcc OSX logic