It assumes that libltdl can only produce a handle for a symbol in the the program itself, as opposed to those loaded from shared libraries. It tries 'strerror'. This cannot work on MS-Windows, unless the program was linked with -export-dynamic, which is not true for the test program.
So this test currently fails on MS-Windows.