fixed clang detections