build: fix checks for GCC11

No match.