Recent cmake versions (starting with 3.0) don't use multiarch libdir when the install prefix is not /usr. To have the same library directory for all packages explicitly set CMAKE_INSTALL_LIBDIR to lib.