small fix to handle osx builds
Merge pull request #137 from quasiben/feature/scala-fix-osx

small fix to handle osx builds