Added CMakeLists.txt, fixed compilation on gcc
Merge pull request #1 from MichelPaulissen/master

Added CMakeLists.txt, fixed compilation on gcc