Don't build x86 source on arm.

Also conditionalize more encoder asm.