Bugfix: make install used cp to install shared objects is wrong

Use install command instead