Added support for cmake