Add CMake support

Works fine on: MSVS 2013
Should works on Linux and MinGW, if bug #1 will be fixed.