Fix compilation with gcc 5.3 on illumos
Checklist
-
the commit message follows commit guidelines
Description of change
gcc 5.3 defines STDC_VERSION to 201112L (c99), together with _XOPEN_SOURCE 500 this leads to compilation error in feature-tests.h ("Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications").