Check tools availability in a more reliable way