Add Mac OS X platform support