It seems that clang++ headers #include <version>, which found simgear/version because we need to put singear/ in include path for some code to compile.