make it compile and run on Linux
Merge pull request #1 from ralfjung-e/master

Make it compile and run on Linux