Added explicit support for Mac OS.