Solve brace-enclosed initializer list compilation error on gcc.