[test] Use 'otool -L' where ldd doesn't exist (macOS) (#732)

1 file changed