test: avoid feature test warning for GCC