Move library loading to dumputils