While the patch is not a good fix (hackish by nature, no cross-compilation support etc.), it should do the job in majority of cases. Also require dpkg-dev >= 1.16 at both build time (Build-Depends) and runtime (cmake Depends) because the patch needs dpkg-architecture -qDEB_HOST_MULTIARCH. (Closes: #618932) Implemented in multiarch_library_directory_hack.diff.