Fix wb_trans_done after conversion to unix calling conventions