compile in mac
Merge pull request #2 from hithwen/master

compile in mac