Remove usage of initializer_list

It is not supported by old compilers, especially MSVC