On Gentoo Linux, CMAKE_INSTALL_LIBDIR is passed as an absolute path, which caused plugins to be installed in /usr/usr/lib/freerdp. The new logic better emulates the behavior of the real GNUInstallDirs module.