Make static and dynamic libraries

install them, clean up, and uninstall