Add MacOS X support.
Merge pull request #2 from anthonyu/mac_os_x

Add MacOS X support.