fixed compilation error in RSA/ModExpt