Improvements to StM_CHECK_DLOPEN_LIB; now it can test with -ldl even
if that is not in LIBS.