Fix CHECK_BIDIR macro so it works with Intel's Compiler