Compile GMP and mcrypt statically