builder,util: moved get_thread_count() to util.py
builder: src-for-target, run errors fixed
util: recreated find_smroot, with smroot var reusage
Fetched changes in util.py (find_smroot) into builder
builder: now using src-for-target when creating depgraph