Add CMAKE_SKIP_RPATH and CMAKE_INSTALL_LIBDIR

Add the CMake build options CMAKE_SKIP_RPATH and CMAKE_INSTALL_LIBDIR.