Fix c++98 compatability.

Remove extended initializer list usage to maintain c++98 compatability.