introduce c11_compat.h to provide C11 things in C99