bumped cmake version min and fixed clang support