Fixed issues with clang static analyzer when toolchain path is not given or gcc is used as the compiler.
Fixed issues with clang static analyzer when toolchain path is not given or gcc is used as the compiler.

bverhagen/exec-helper,bverhagen/exec-helper,bverhagen/exec-helper,bverhagen/exec-helper,bverhagen/exec-helper