Added headers and macros to support IB core on RHEL7.4