compile on OSX Yosemite