Port to OS X Darwin 64
Merge pull request #9 from nyue/master

Port to OS X Darwin 64