Merge pull request #3 from nicdk/master

CMake support