Use install to copy files.
We now have .so files in .local/lib.