Fixed building on x86_64, added mips and x86 for scrypt