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