matlab compile fix for new 'dict' arg