Added a library uninstall function.