added clang option to cmakelists. This feature is not yet properly implemented.