Fix installation with custom CMAKE_INSTALL_PREFIX
Created by: A1-Triard
STR: run cmake with -DCMAKE_INSTALL_PREFIX=/some_user_dir, then make, then make install without root privileges. AR: make install failed trying to copy some file to /usr/lib ER: make install is successful