CMake installs libraries in wrong directory in multiarch systems
The CMake scripts currently always install libraries in /usr/lib. They should install in /usr/lib64 when running on x86_64 systems.
Install libraries in correct directories on multiarch systems.
NB: this patch may change the default install dirs on some systems,
and will not overwrite previous installations. Thus make sure to
link to the correct library versions of e.g. libgromacs.