compat: Added macros and headers to support for RHEL7.2