workaround redefinition of _POSIX_C_SOURCE by pyconfig.h