Fix for Yosemite.