Fix multi-arch compilation issue for perl in x86_64-linux-gnu.