Patch by Andrew Shadura, providing better support for three architectures they have in Debian.