fix mac problem....
fix mac problem....2
Merge pull request #29 from altsai/master

Merge for fixing Mac issues....