make portable to CkDirect implementations other than ibverbs