add guards around x86 code to make terra compile
on arm