Fixing compiling with cmake
Merge pull request #10 from Joilnen/master

Fixing compiling with cmake