Accept ~amd64 for newer libmtp, netpbm, ptlib to fix compilation process.