fix compilation on linux
Merge pull request #652 from unclejack/fix-compilation-on-linux

fix compilation on linux