fixes to the LoadLibrary code, which isn't actually being used yet