[mach-o] fix struct initialization to work with Windows compiler