(maint) Add debugging when loading ruby dynamic library

It could be util.posix.dynamic_library, which seems closest to the other declarations.