Make changes for Mac OS X compilation.