repair IB_LONG_INT(X) macro