Is the arch still x86_64 in case of x32? Wouldn't this possibly cause the detection process to confuse 64-bit and x32 libs?