Adding compilation support for OS X.