add ifdi_if.h because of cxgb depedencies
fix defines to cope with cases where mtx_macros are defined with do { } while (0)