Added support for CMake buildsystem