Please disregard my old patch, it is crap! Blame it on a lack of caffeine.
The shared library was not linked in properly. I have it linking properly now and also looking for the library in the proper system directories (as well as same dir as binary). It is working on some disks, however I am getting core dumps with free() pointing to wrong pages on others. I have also revised the build system. I will be able to provide a working patchset later today or tomorrow (it's going to be a hot day and the pub is calling out to me