Add support for OS X.