Use cmake to build.
Clean clang warnings.
Remove obsolete dir.
Build 64 bits version.
Merge pull request #6 from berkus/master

Add cmake project. Support clang, clean up warnings.