Add PPC64LE support and improve 32-bit and 64-bit checks.