Adaptation for Mac OS X