[Bug 1186860] Tensorflow2 fails to build with GCC11