I got "error: Oops, mp_limb_t is 32 bits, but the assembler code in this configuration expects 64 bits." during build. I had to change the CFLAGS in mkbuild.sh from i386 to x86_64 to resolve this.