Change Cmake macro to fix build for x86_64 arch.