On Mac, also look for dylibs. Fixes cling test suite.