Fixed build for Yosemite