[TEST] Fix SimpleThreadPoolTests to exclude test infra threads
[BUILD] skip bwc version check if directory doesn't exists or is not a directory