Fixed clang build on Linux (-fPIC) and NodeVisitor compile warnings