Added compilation support for MacOSX 10.10 (yosemite)