This is done for the sake of Yosemite, which does not have gcc, and yet this change is also compatible with Linux.
Closes #4314