fix compat with mac and linux, need some test
fix typo in 5184a90
Merge pull request #2 from hashashin/dev

0.7.1