A couple of small changes to the shared library
helper code.
Move use up to date.