[ASan] Fix compilation on Mac.