add 'libdir' support

removing 'hardcoded' libdir
following packaging guidelines and enabling the user to decide where to place the built lib

cmake -DLIB_INSTALL_DIR=%{_libdir}