Fix compiler check for clang