Fix a bug.

CMake somehow doesn't make install script for shared libraries correctly.