Fix logic issue with x64 platform detection

A typo in the determination of x86_64 platform made it so shared
libraries were not being used on x64 platforms.