mailx: sync patches with Fedora; cross build support.