Fixing initializer list compiler warnings