Fix #61 in osx
Merge pull request #62 from KorvinSzanto/master

Fix #61 in osx