fix struct initialization for msvc