Fix for OS X Yosemite.