Small fix in detecting language. Fixes needed to compile code using clang