TCC adaptions in Build.pm and substitutedeps

First part of patches for transparent cross compiling support, build part will follow.

These changes should not interfere with non tcc scheduler/worker code!

Added functions for handling cross dependencies and support scheduler by job preparation for sysroot usage.

adopted do_subst_vers call in substitutedeps