Add Darwin(OS X) platform support