this works on linux now.
Merge pull request #8 from raptros/master

working on linux