Fix compilation warning on Yosemite