Fix issue with linking shared library on x86_64_32 hosts.