Respect CMAKE_INSTALL_LIBDIR in installed CMake files

Fixes #1965
8 files changed