Fix build issues for arm64 applications
While building an application Flatpak from .deb packages, we experience failures when targeting the arm64 architecture. This MR fixes those by:
- allowing to run commands without calling them through
fakeroot
- working around an issue where the arm64
ldconfig
makes qemu crash on amd64 hosts.