Correct the conditional test for non-portable tools so that it will